import { defineStore } from "pinia";

//导出useFileListStore
export const useStore = defineStore("store", {
  // 动作
  actions: {},

  // 状态
  state() {
    return {
      currentFile: "",

      fileList: [],

      editorTabList: [],

      currentMenu: false,

      //当前主题
      isDark: true,
    };
  },

  // 计算
  getters: {},
});
